<?php

/**
 * Gère la configuration du arduino 
 */

namespace Acme\DomotiqueBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
 * @ORM\Entity
 * @ORM\Table(name="arduino_config")
 */
class ArduinoConfig
{
	/**
     * @ORM\Id
     * @ORM\Column(type="integer") 
     */
	protected $pin_id;
	/** 
     * @ORM\Column(type="text") 
     */
	protected $value;

    /**
     * Set pin_id
     *
     * @param integer $pinId
     * @return ArduinoConfig
     */
    public function setPinId($pinId)
    {
        $this->pin_id = $pinId;
    
        return $this;
    }

    /**
     * Get pin_id
     *
     * @return integer 
     */
    public function getPinId()
    {
        return $this->pin_id;
    }

    /**
     * Set value
     *
     * @param string $value
     * @return ArduinoConfig
     */
    public function setValue($value)
    {
        $this->value = $value;
    
        return $this;
    }

    /**
     * Get value
     *
     * @return string 
     */
    public function getValue()
    {
        return $this->value;
    }
}